<script>
/* At least one <template> or <script> is required in a single file component. */
import { useAppStore } from '~/stores/app'
import { useUserStore } from '~/stores/user'

export default {
  onLaunch() {
    uni.hideTabBar()
    // 登录
    useAppStore().initConfig()
    useUserStore().userLogin(true)
  },
  onShow() {
    console.log('App Show')
  },
  onHide() {
    uni.hideTabBar()
    console.log('App Hide')
  },
}
</script>

<style lang="scss">
@import './styles/main.css';
@import "./static/iconfont.css";
</style>
